﻿using System.Collections.Generic;
using Lari.DataAccess;
using Lari.Services.Data;
using Lari.Services.ViewModel;

namespace Lari.Services.Implementation
{
    public class CoreServiceManager : LariService
    {
        #region ICoreService Members

        public Employee Logon(string uid, string password)
        {
            using (var db = new LariDbContext(false))
            {
                return CoreServiceDataAccess.Authenticate(uid, password, db);
            }
        }

        #endregion



        
    }
}